package com.leizi.igym.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * @Author: leizi0110
 * @CreateTime: 2024-04-14  16:59
 * @Description:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LostPageQueryDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 8235583685255996373L;
    // 失物招领id
    private Long id;

    // 搜索信息，可以包括失物招领标题，失物招领描述，发布人昵称
    private String searchText;

    // 失物招领发布开始时间
    private LocalDate beginTime;

    // 失物招领发布结束时间
    private LocalDate endTime;

    // 失物招领状态
    private Integer status;

    //页码
    private Integer current = 1;

    //每页显示记录数
    private Integer pageSize = 4;

}
